package com.cwf.auth.service;

import com.cwf.auth.domain.Permission;
import com.cwf.auth.domain.Role;
import com.cwf.auth.dto.RoleMenuDTO;
import com.cwf.auth.dto.RolePermissionDTO;
import com.cwf.basic.service.IBaseService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cwf
 * @since 2023-12-01
 */
public interface IRoleService extends IBaseService<Role> {

    void saveAuth(RolePermissionDTO rolePermissionDTO);

    List<Long> getPermissionsById(Long id);

    void saveMenu(RoleMenuDTO roleMenuDTO);

    List<Long> getMenusById(Long id);
}
